﻿/************************************************************/
///         *                *                  *         ///
///       ***              * * *                ***       ///
///     *****            * * * * *              *****     ///
///   *******          * * * * * * *            *******   ///
/// *********        * * * * * * * * *          ********* ///
///   *******          * * * * * * *            *******   ///
///     *****            * * * * *              *****     ///
///       ***              * * *                ***       ///
///         *                *                  *         ///
/************************************************************/

using CefSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XsDown.Common
{
    /// <summary>
    /// HutuRequestHandler
    /// 创建人：njazy
    /// 创建时间：2021/8/19 17:45:13
    /// </summary>
    public class HutuRequestHandler : CefSharp.Handler.RequestHandler
    {
        // private Dictionary<UInt64, MemoryStreamResponseFilter> responseDictionary = new Dictionary<UInt64, MemoryStreamResponseFilter>();

        public IRequestHandler _requestHeandler;


        public HutuRequestHandler(IRequestHandler rh) : base()
        {
            _requestHeandler = rh;
        }
        protected override bool OnBeforeBrowse(IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame frame, IRequest request, bool userGesture, bool isRedirect)
        {
            return base.OnBeforeBrowse(chromiumWebBrowser, browser, frame, request, userGesture, isRedirect);
        }

    }
}
